package com.zjw.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 好物信息表(Goods)实体类
 *
 * @author 翟
 * @since 2025-04-07 12:31:05
 */
public class Goods implements Serializable {
    private static final long serialVersionUID = 923652347758408764L;
    /**
     * 好物信息编号
     */
    private Integer goodsId;
    /**
     * 好物信息名称
     */
    private String goodsName;
    /**
     * 好物价格
     */
    private Double goodsPrice;
    /**
     * 好物信息介绍
     */
    private String goodsIntroduce;
    /**
     * 好物信息上架时间
     */
    private Date goodsAddTime;
    /**
     * 好物是否在售 0:是 1:否
     */
    private Integer isOnSell;
    /**
     * 好物类型编号
     */
    private Integer typeId;
    /**
     * 卖家编号
     */
    private Integer sellerId;

    private String typeName;

    public Goods() {
    }

    public Goods(String goodsName, Double goodsPrice, String goodsIntroduce, Date goodsAddTime, Integer isOnSell, Integer typeId, Integer sellerId) {
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsIntroduce = goodsIntroduce;
        this.goodsAddTime = goodsAddTime;
        this.isOnSell = isOnSell;
        this.typeId = typeId;
        this.sellerId = sellerId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsIntroduce() {
        return goodsIntroduce;
    }

    public void setGoodsIntroduce(String goodsIntroduce) {
        this.goodsIntroduce = goodsIntroduce;
    }

    public Date getGoodsAddTime() {
        return goodsAddTime;
    }

    public void setGoodsAddTime(Date goodsAddTime) {
        this.goodsAddTime = goodsAddTime;
    }

    public Integer getisOnSell() {
        return isOnSell;
    }

    public void setisOnSell(Integer isOnSell) {
        this.isOnSell = isOnSell;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}

